package dao;
import java.sql.SQLException;
import java.util.ArrayList;

import BizLogic.BadDataException;
import model.LoginCredentials;

public interface LoginCredentialsDAO {
public void insertLoginCredentials(LoginCredentials loginCredentials) throws SQLException;
public void updateLoginCredentials(LoginCredentials loginCredentials) throws SQLException;
public void deleteLoginCredentials(String StaffID) throws SQLException;
public LoginCredentials findLoginCredentials(String StaffID) throws SQLException;
public ArrayList<LoginCredentials> findAllLoginCredentials() throws SQLException;
public ArrayList<String> findAllManagers() throws SQLException, BadDataException;
public void updateByID(String staffID,String role)throws SQLException;
public void updatePassword(String StaffID,String Password,String Salt) ;

}
